﻿namespace B.S.GridManage.Api.Read.Dtos
{
    /// <summary>
    /// 区域树DTO
    /// </summary>
    public class AreaTreeDto
    {
        /// <summary>
        /// 区域名称
        /// </summary>
        public string AreaName { get; set; }
        /// <summary>
        /// 父级id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        public decimal Lng { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        public decimal Lat { get; set; }

        /// <summary>
        /// 下级区域集合
        /// </summary>
        public List<AreaTreeDto> Children { get; set; }
    }
}
